package top.liuzhenyu.springboot3.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import top.liuzhenyu.springboot3.base.R;

@RestController
public class IndexController {
    @GetMapping("/")

    public R<String> index() {

        return R.ok("欢迎使用lzy的后端接口");
    }
}
